
public class Driver {

	public static void main(String[] args)
	   {
	      Queue q = Queue.create();
	      Queue.enqueue(q, 1);
	      Queue.enqueue(q, 2);

	      System.out.println(Queue.front(q));
	      Queue.dequeue(q);
	      System.out.println(Queue.front(q));
	      Queue.dequeue(q);
	      System.out.println(Queue.isEmpty(q));
	   }
	}

